﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Domain.审计字段;

namespace Domain_nwj.BasicInformation
{
    /// <summary>
    /// 油费管理表
    /// </summary>
    public class FuelExpenses : AuditableEntityBase
    {
        [Key]
        /// <summary>
        /// 自增主键
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 车牌号（关联VehicleManagement表，非空）
        /// </summary>
        public string LicensePlateNumber { get; set; }

        /// <summary>
        /// 油费金额（单位：元）
        /// </summary>
        public double? FuelCost { get; set; }

        /// <summary>
        /// 加油量（单位：升）
        /// </summary>
        public double? FuelQuantity { get; set; }

        /// <summary>
        /// 加油时的起始里程（单位：公里）
        /// </summary>
        public double? StartMileage { get; set; }

        /// <summary>
        /// 支付方式（如现金、微信）
        /// </summary>
        public string? PaymentMethod { get; set; }

        /// <summary>
        /// 其他支付方式（备用字段）
        /// </summary>
        public string? OtherPaymentMethod { get; set; }

        /// <summary>
        /// 经办人
        /// </summary>
        public string? Handler { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        public string? Remarks { get; set; }
    }
}
